package com.spt.springbootzhsx.service;

import com.spt.springbootzhsx.entity.Comment;
import com.spt.springbootzhsx.entity.back.CommentBack;

import java.util.ArrayList;

public interface CommentService {
    String addComment(Comment comment);
    ArrayList<CommentBack> getAllCommentByMid(Integer mid);
    String deleteComment(Integer coid);
    ArrayList<CommentBack> getCommnetByUnameOrMname(String key);
    ArrayList<CommentBack> getAllComment();
}
